package logic.configuration;

import java.util.List;

public class Configuration {
	
	private List<CommandSpec> commandSpec;
	private List<String> toolbarCommands;
	private MenuCommands menuCommands;
	
	public Configuration(List<CommandSpec> commandSpec, 
			List<String> toolbarCommands, MenuCommands menuCommands) {
		this.commandSpec = commandSpec;
		this.toolbarCommands = toolbarCommands;
		this.menuCommands = menuCommands;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Configuration [commandSpec=");
		for (CommandSpec cs : commandSpec) {
			builder.append(cs.toString());
		}
		builder.append(", toolbarCommands=");
		for (String s : toolbarCommands) {
			builder.append(s.toString());
		}
		builder.append(", menuCommands=");
		builder.append(menuCommands);
		builder.append("]");
		return builder.toString();
	}
	
	


}
